package com.dk.em;

public enum ResultEnum {
    SUCCESS(10000,"操作成功")
    ,ERROR(10001,"操作失败")
    ,NOLOGIN(10003,"未登录")
    ,TIMEEXITE(10004,"该栏位时间已存在，请从新选择")
    ,PAYSUCCESS(10005,"支付成功")
    ,PAYFAIL(10006,"支付失败");


    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    private Integer code;
    private  String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
